/*
 * Static.h
 *
 *  Created on: 2014. 5. 2.
 *      Author: zenoniaonline
 */

#ifndef PROJECTZ_NTENCENT_STATIC_H_
#define PROJECTZ_NTENCENT_STATIC_H_

#include "../NUtil/Single.h"

#include "MSDK.h"
#include "TLog.h"

namespace Projectz { namespace NTencent {

class Static : public NUtil::Single<Static>
{
public:
	Static()
	{
		_pMSKD = new MSDK;
		_pTLog = new TLog;
	}

	~Static()
	{
		delete _pTLog;
		delete _pMSKD;
	}

	MSDK *		GetMSDK() { return _pMSKD; }
	TLog *		GetTLog() { return _pTLog; }

private:
	MSDK *		_pMSKD;
	TLog *		_pTLog;
};

} /*NTencent*/ } /*Projectz*/


#endif /* PROJECTZ_NTENCENT_STATIC_H_ */
